INCLUDE_DIRECTORIES(../utils)

SET(SRC_LIST server.c
        ../utils/sock.c
        ../utils/queue.c ../utils/user.c)
            
add_executable(server ${SRC_LIST})

set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")

install(TARGETS server RUNTIME DESTINATION bin)
